package com.eastfair.builder.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 报馆搭建商信息
 * </p>
 *
 * @author dq
 * @since 2022-08-06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ReportBuilderUpdateDTO", description = "报馆搭建商信息")
public class ReportBuilderUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 报馆ID
     */
    @ApiModelProperty(value = "报馆ID")
    private Long reportSpaceId;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 1000, message = "备注长度不能超过1000")
    private String remark;
    /**
     * 统一社会信用代码
     */
    @ApiModelProperty(value = "统一社会信用代码")
    @Size(max = 100, message = "统一社会信用代码长度不能超过100")
    private String uscc;
    /**
     * 施工单位名称
     */
    @ApiModelProperty(value = "施工单位名称")
    @Size(max = 100, message = "施工单位名称长度不能超过100")
    private String constructionName;
    /**
     * 施工负责人
     */
    @ApiModelProperty(value = "施工负责人")
    @Size(max = 100, message = "施工负责人长度不能超过100")
    private String constructionPrincipal;
    /**
     * 施工负责人联系电话
     */
    @ApiModelProperty(value = "施工负责人联系电话")
    @Size(max = 50, message = "施工负责人联系电话长度不能超过50")
    private String principalPhone;
    /**
     * 值守电工姓名
     */
    @ApiModelProperty(value = "值守电工姓名")
    @Size(max = 100, message = "值守电工姓名长度不能超过100")
    private String electricianName;
    /**
     * 值守电工联系电话
     */
    @ApiModelProperty(value = "值守电工联系电话")
    @Size(max = 50, message = "值守电工联系电话长度不能超过50")
    private String electricianPhone;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    @Size(max = 50, message = "邮箱长度不能超过50")
    private String email;
    /**
     * 传真
     */
    @ApiModelProperty(value = "传真")
    @Size(max = 50, message = "传真长度不能超过50")
    private String fax;
    /**
     * 保险信息
     */
    @ApiModelProperty(value = "保险信息")
    @Size(max = 1000, message = "保险信息长度不能超过1000")
    private String insurance;
}
